package com.hospital.xiaochengxiu.yan.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hospital.xiaochengxiu.yan.entity.DoctorMedicine;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author ：ysb
 * @ClassName ：DoctorMedicineMapper
 * @Package ：com.hospital.xiaochengxiu.yan.dao
 * @Description:
 * @Date:2021/10/21 14:11
 */
@Repository
public interface DoctorMedicineMapper extends BaseMapper<DoctorMedicine> {

    /**
     * 根据卡号查询该用户未缴费的药单表2
     * 多表连接
     * @param cardNo
     * @return
     */
    List<DoctorMedicine> selectDoctorMedicineTwo( @Param(value = "cardNo") String cardNo);
}
